package com.wannengbang.storemobile.bean;


import java.io.Serializable;
import java.util.List;

public class ProductClassifyListBean extends BaseResponseBean {

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {


        /**
         * pagination : {"total_count":4,"page_count":1}
         * itemList : [{"id":60,"store_no":"15578841880000020295","name":"食品","sort":1,"create_time":1589877241,"delete_time":0},{"id":58,"store_no":"15578841880000020295","name":"烟草","sort":1,"create_time":1589609843,"delete_time":0},{"id":57,"store_no":"15578841880000020295","name":"酒水","sort":1,"create_time":1589597613,"delete_time":0},{"id":5,"store_no":"15578841880000020295","name":"新分类","sort":1,"create_time":1567569115,"delete_time":0}]
         */

        private PaginationBean pagination;
        private List<ItemListBean> itemList;

        public PaginationBean getPagination() {
            return pagination;
        }

        public void setPagination(PaginationBean pagination) {
            this.pagination = pagination;
        }

        public List<ItemListBean> getItemList() {
            return itemList;
        }

        public void setItemList(List<ItemListBean> itemList) {
            this.itemList = itemList;
        }

        public static class PaginationBean {
            /**
             * total_count : 4
             * page_count : 1
             */

            private int total_count;
            private int page_count;

            public int getTotal_count() {
                return total_count;
            }

            public void setTotal_count(int total_count) {
                this.total_count = total_count;
            }

            public int getPage_count() {
                return page_count;
            }

            public void setPage_count(int page_count) {
                this.page_count = page_count;
            }
        }

        public static class ItemListBean implements Serializable {
            /**
             * id : 60
             * store_no : 15578841880000020295
             * name : 食品
             * sort : 1
             * create_time : 1589877241
             * delete_time : 0
             */

            private String id;
            private String store_no;
            private String name;
            private int sort;
            private String create_time;
            private String delete_time;
            private boolean isCheck;

            public ItemListBean(String id, String name) {
                this.id = id;
                this.name = name;
            }

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStore_no() {
                return store_no;
            }

            public void setStore_no(String store_no) {
                this.store_no = store_no;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getDelete_time() {
                return delete_time;
            }

            public void setDelete_time(String delete_time) {
                this.delete_time = delete_time;
            }
        }
    }
}
